<?php
$r=f(2,10);
echo $r;

function f($x,$y){
    $result=5*$x+3*$y;
    return $result;
}